﻿using System;
using System.Drawing;
using System.Windows.Forms;


namespace ruscehproj2
{
    public partial class bp119 : Form
    {
        bool enabled = false;
        int i = 1;
        //Voltmeter volt1 = new Voltmeter(100, 280, 45, 135);

        public bp119()
        {
            InitializeComponent();
        }
        public void enable(bool inpt)
        {
            enabled = inpt;
        }


   

  

        private void button1_Click(object sender, EventArgs e)
        {
            this.i++;
            if (this.i > 2) this.i = 1;
            button1.BackgroundImageLayout = ImageLayout.Stretch;
        }

        private void bp119_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Escape)
            {
                this.Hide();
            }
        }

       

        
    }
}
